package com.cosyhut.blocks.factory;

import com.jme.math.*;

public class MNode {
	String _name;
	Vector3f _position;
	//Quaternion _rotation;
	Matrix3f _rotation;
	
	public MNode(String name, Vector3f position, Quaternion quaternion) {
		this._name = name;
		this._position = (Vector3f)position.clone();
		this._rotation = quaternion.toRotationMatrix();
	}
	
	//--------------------------------------------------------------------------
	public String getName() {
		return this._name;
	}
	
	public Vector3f getPosition() {
		return this._position;
	}
	
	public Matrix3f getRotation() {
		return this._rotation;
	}
}
